package com.lq.ecoldchain.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/*
 *2019/1/10 0010  13:50
 *function by lq
 */
public class GoodsTypeEntity implements MultiItemEntity {
    public static final int TYPE_FIRST = 1;
    public static final int TYPE_SECOND = 2;
    private int viewType;
    public GoodsTypeEntity(int viewType,GoodsTypeBean goodsTypeBean){
        this.viewType = viewType;
        this.goodsTypeBean = goodsTypeBean;
    }

    private GoodsTypeBean goodsTypeBean;

    public GoodsTypeBean getGoodsTypeBean(){
        return goodsTypeBean;
    }

    @Override
    public int getItemType() {
        return viewType;
    }
}
